{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "        <script type=\"text/javascript\">\n",
       "        window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
       "        if (window.MathJax) {MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
       "        if (typeof require !== 'undefined') {\n",
       "        require.undef(\"plotly\");\n",
       "        requirejs.config({\n",
       "            paths: {\n",
       "                'plotly': ['https://cdn.plot.ly/plotly-latest.min']\n",
       "            }\n",
       "        });\n",
       "        require(['plotly'], function(Plotly) {\n",
       "            window._Plotly = Plotly;\n",
       "        });\n",
       "        }\n",
       "        </script>\n",
       "        "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import plotly as pl\n",
    "import plotly.graph_objs as go\n",
    "pl.offline.init_notebook_mode(connected=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "import rock as r\n",
    "from phases import *\n",
    "import fluid as f\n",
    "import insulation as i\n",
    "import pipe as p\n",
    "import well as w\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "rock = r.Rock(temperature_formation_initial=350)\n",
    "\n",
    "gas = gas.Gas(pressure_pseudocritical=46,\n",
    "              temperature_pseudocritical=190.5,\n",
    "              density_relative=0.56)\n",
    "\n",
    "water = water.Water(salinity=0.001)\n",
    "\n",
    "fluid = f.Fluid(gas=gas,\n",
    "                water=water,\n",
    "                rate_gas_standard=1000,\n",
    "                rate_water_standard=10)\n",
    "\n",
    "cementing = i.Insulation(diameter=0.25,\n",
    "                         thermal_conductivity=0.7)\n",
    "\n",
    "pipe_casing = p.Pipe(length=1000,\n",
    "                     diameter_outer=0.2,\n",
    "                     diameter_inner=0.15,\n",
    "                     roughness_absolute=None,\n",
    "                     angle_horizontal=90,\n",
    "                     thermal_conductivity=0.7,\n",
    "                     insulation=cementing)\n",
    "\n",
    "pipe_production = p.Pipe(length=1000,\n",
    "                         diameter_outer=0.125,\n",
    "                         diameter_inner=0.10,\n",
    "                         roughness_absolute=1e-5,\n",
    "                         angle_horizontal=90,\n",
    "                         thermal_conductivity=0.7,\n",
    "                         insulation=None)\n",
    "\n",
    "well = w.Well(pipe_casing=pipe_casing,\n",
    "              pipe_production=pipe_production,\n",
    "              rock=rock,\n",
    "              fluid=fluid,\n",
    "              time_work=31,\n",
    "              pressure_wellhead=100)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.plotly.v1+json": {
       "config": {
        "plotlyServerURL": "https://plot.ly"
       },
       "data": [
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "pressure_average",
         "type": "scattergl",
         "x": [
          100,
          100.01784119460599,
          100.03568240903861,
          100.05352364327321,
          100.07136489728514,
          100.0892061710498,
          100.1070474645426,
          100.12488877773899,
          100.14273011061445,
          100.1605714631445,
          100.17841283530468,
          100.19625422707057,
          100.21409563841779,
          100.23193706932196,
          100.24977851975876,
          100.26761998970389,
          100.28546147913309,
          100.3033029880221,
          100.32114451634672,
          100.33898606408279,
          100.35682763120613,
          100.37466921769266,
          100.39251082351826,
          100.4103524486589,
          100.42819409309055,
          100.44603575678923,
          100.46387743973098,
          100.48171914189186,
          100.49956086324796,
          100.51740260377544,
          100.5352443634504,
          100.55308614224909,
          100.57092794014767,
          100.58876975712246,
          100.60661159314971,
          100.62445344820573,
          100.64229532226685,
          100.66013721530946,
          100.67797912730995,
          100.69582105824475,
          100.71366300809032,
          100.73150497682315,
          100.74934696441977,
          100.76718897085675,
          100.78503099611065,
          100.80287304015806,
          100.82071510297564,
          100.83855718454004,
          100.85639928482797,
          100.87424140381619,
          100.89208354148144,
          100.9099256978005,
          100.92776787275021,
          100.94561006630737,
          100.96345227844888,
          100.98129450915165,
          100.99913675839261,
          101.01697902614873,
          101.034821312397,
          101.05266361711445,
          101.07050594027811,
          101.08834828186512,
          101.10619064185252,
          101.12403302021745,
          101.14187541693711,
          101.15971783198871,
          101.17756026534946,
          101.19540271699661,
          101.21324518690746,
          101.2310876750593,
          101.2489301814295,
          101.26677270599542,
          101.28461524873444,
          101.30245780962399,
          101.32030038864153,
          101.33814298576455,
          101.35598560097057,
          101.37382823423712,
          101.3916708855418,
          101.40951355486219,
          101.42735624217592,
          101.44519894746063,
          101.46304167069403,
          101.48088441185381,
          101.49872717091772,
          101.51656994786352,
          101.53441274266902,
          101.55225555531206,
          101.57009838577049,
          101.58794123402217,
          101.60578410004501,
          101.62362698381695,
          101.64146988531598,
          101.65931280452008,
          101.67715574140728,
          101.69499869595559,
          101.71284166814313,
          101.730684657948,
          101.74852766534833,
          101.76637069032229
         ],
         "xaxis": "x",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        },
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "temperature_constant",
         "type": "scattergl",
         "x": [
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004
         ],
         "xaxis": "x2",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        },
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "pressure_fanning",
         "type": "scattergl",
         "x": [
          100,
          100.06363322222393,
          100.12730930862438,
          100.19102828812417,
          100.2547901896601,
          100.3185950421829,
          100.38244287465726,
          100.44633371606179,
          100.51026759538901,
          100.57424454164536,
          100.63826458385115,
          100.70232775104061,
          100.7664340722618,
          100.83058357657666,
          100.89477629306094,
          100.95901225080426,
          101.02329147891005,
          101.08761400649553,
          101.1519798626917,
          101.21638907664338,
          101.28084167750912,
          101.34533769446124,
          101.4098771566858,
          101.47446009338259,
          101.5390865337651,
          101.60375650706054,
          101.6684700425098,
          101.73322716936742,
          101.79802791690167,
          101.8628723143944,
          101.9277603911411,
          101.99269217645093,
          102.05766769964659,
          102.12268699006442,
          102.18775007705433,
          102.25285698997979,
          102.31800775821783,
          102.383202411159,
          102.4484409782074,
          102.51372348878061,
          102.57904997230972,
          102.64442045823931,
          102.70983497602741,
          102.77529355514551,
          102.84079622507852,
          102.90634301532482,
          102.97193395539615,
          103.03756907481767,
          103.10324840312789,
          103.16897196987874,
          103.23473980463544,
          103.30055193697659,
          103.36640839649408,
          103.4323092127931,
          103.49825441549217,
          103.56424403422304,
          103.63027809863075,
          103.69635663837359,
          103.76247968312302,
          103.82864726256376,
          103.89485940639375,
          103.96111614432405,
          104.02741750607893,
          104.0937635213958,
          104.1601542200252,
          104.2265896317308,
          104.29306978628935,
          104.35959471349071,
          104.42616444313778,
          104.49277900504656,
          104.55943842904605,
          104.6261427449783,
          104.69289198269834,
          104.75968617207421,
          104.8265253429869,
          104.89340952533037,
          104.96033874901153,
          105.02731304395017,
          105.09433244007904,
          105.16139696734378,
          105.22850665570283,
          105.29566153512755,
          105.36286163560213,
          105.43010698712355,
          105.49739761970163,
          105.56473356335896,
          105.63211484813088,
          105.69954150406552,
          105.76701356122372,
          105.83453104967903,
          105.90209399951772,
          105.96970244083872,
          106.03735640375363,
          106.10505591838673,
          106.17280101487484,
          106.24059172336749,
          106.30842807402674,
          106.37631009702724,
          106.44423782255619,
          106.51221128081332
         ],
         "xaxis": "x",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        },
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "temperature_constant",
         "type": "scattergl",
         "x": [
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004
         ],
         "xaxis": "x2",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        },
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "pressure_gray",
         "type": "scattergl",
         "x": [
          100,
          100.67789998099512,
          101.35700003891864,
          102.03729370539897,
          102.71877453461428,
          103.40143610344698,
          104.08527201163395,
          104.77027588191285,
          105.45644136016443,
          106.14376211555071,
          106.83223184064933,
          107.52184425158373,
          108.21259308814959,
          108.90447211393712,
          109.59747511644956,
          110.29159590721773,
          110.98682832191076,
          111.68316622044293,
          112.38060348707667,
          113.07913403052186,
          113.77875178403129,
          114.47945070549241,
          115.18122477751544,
          115.88406800751767,
          116.5879744278043,
          117.2929380956456,
          117.99895309335044,
          118.70601352833644,
          119.41411353319653,
          120.123247265762,
          120.83340890916234,
          121.54459267188146,
          122.2567927878107,
          122.97000351629853,
          123.684219142197,
          124.39943397590484,
          125.11564235340761,
          125.83283863631443,
          126.55101721189187,
          127.2701724930946,
          127.99029891859308,
          128.7113909527983,
          129.43344308588348,
          130.15644983380304,
          130.88040573830855,
          131.605305366962,
          132.3311433131462,
          133.05791419607255,
          133.78561266078594,
          134.51423337816723,
          135.243771044933,
          135.97422038363277,
          136.70557614264365,
          137.43783309616262,
          138.17098604419624,
          138.90502981254812,
          139.6399592528038,
          140.37576924231365,
          141.11245468417312,
          141.850010507201,
          142.58843166591555,
          143.32771314050817,
          144.0678499368153,
          144.808837086288,
          145.55066964595963,
          146.29334269841146,
          147.03685135173643,
          147.7811907395008,
          148.52635602070416,
          149.27234237973744,
          150.01914502633912,
          150.76675919554972,
          151.51518014766467,
          152.26440316818514,
          153.0144235677677,
          153.76523668217192,
          154.51683787220665,
          155.2692225236747,
          156.02238604731588,
          156.7763238787487,
          157.5310314784107,
          158.28650433149707,
          159.04273794789816,
          159.7997278621356,
          160.55746963329705,
          161.31595884496957,
          162.07519110517205,
          162.8351620462861,
          163.59586732498596,
          164.3573026221672,
          165.11946364287422,
          165.88234611622678,
          166.64594579534543,
          167.41025845727577,
          168.17527990291197,
          168.94100595691907,
          169.70743246765448,
          170.47455530708848,
          171.24237037072385,
          172.01087357751464
         ],
         "xaxis": "x",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        },
        {
         "marker": {
          "size": 5
         },
         "mode": "markers",
         "name": "temperature_constant",
         "type": "scattergl",
         "x": [
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004,
          339.90655000000004
         ],
         "xaxis": "x2",
         "y": [
          1000,
          990,
          980,
          970,
          960,
          950,
          940,
          930,
          920,
          910,
          900,
          890,
          880,
          870,
          860,
          850,
          840,
          830,
          820,
          810,
          800,
          790,
          780,
          770,
          760,
          750,
          740,
          730,
          720,
          710,
          700,
          690,
          680,
          670,
          660,
          650,
          640,
          630,
          620,
          610,
          600,
          590,
          580,
          570,
          560,
          550,
          540,
          530,
          520,
          510,
          500,
          490,
          480,
          470,
          460,
          450,
          440,
          430,
          420,
          410,
          400,
          390,
          380,
          370,
          360,
          350,
          340,
          330,
          320,
          310,
          300,
          290,
          280,
          270,
          260,
          250,
          240,
          230,
          220,
          210,
          200,
          190,
          180,
          170,
          160,
          150,
          140,
          130,
          120,
          110,
          100,
          90,
          80,
          70,
          60,
          50,
          40,
          30,
          20,
          10
         ]
        }
       ],
       "layout": {
        "template": {
         "data": {
          "bar": [
           {
            "error_x": {
             "color": "#2a3f5f"
            },
            "error_y": {
             "color": "#2a3f5f"
            },
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             }
            },
            "type": "bar"
           }
          ],
          "barpolar": [
           {
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             }
            },
            "type": "barpolar"
           }
          ],
          "carpet": [
           {
            "aaxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "baxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "type": "carpet"
           }
          ],
          "choropleth": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "choropleth"
           }
          ],
          "contour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "contour"
           }
          ],
          "contourcarpet": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "contourcarpet"
           }
          ],
          "heatmap": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmap"
           }
          ],
          "heatmapgl": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmapgl"
           }
          ],
          "histogram": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "histogram"
           }
          ],
          "histogram2d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2d"
           }
          ],
          "histogram2dcontour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2dcontour"
           }
          ],
          "mesh3d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "mesh3d"
           }
          ],
          "parcoords": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "parcoords"
           }
          ],
          "scatter": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter"
           }
          ],
          "scatter3d": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter3d"
           }
          ],
          "scattercarpet": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattercarpet"
           }
          ],
          "scattergeo": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergeo"
           }
          ],
          "scattergl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergl"
           }
          ],
          "scattermapbox": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattermapbox"
           }
          ],
          "scatterpolar": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolar"
           }
          ],
          "scatterpolargl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolargl"
           }
          ],
          "scatterternary": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterternary"
           }
          ],
          "surface": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "surface"
           }
          ],
          "table": [
           {
            "cells": {
             "fill": {
              "color": "#EBF0F8"
             },
             "line": {
              "color": "white"
             }
            },
            "header": {
             "fill": {
              "color": "#C8D4E3"
             },
             "line": {
              "color": "white"
             }
            },
            "type": "table"
           }
          ]
         },
         "layout": {
          "annotationdefaults": {
           "arrowcolor": "#2a3f5f",
           "arrowhead": 0,
           "arrowwidth": 1
          },
          "colorscale": {
           "diverging": [
            [
             0,
             "#8e0152"
            ],
            [
             0.1,
             "#c51b7d"
            ],
            [
             0.2,
             "#de77ae"
            ],
            [
             0.3,
             "#f1b6da"
            ],
            [
             0.4,
             "#fde0ef"
            ],
            [
             0.5,
             "#f7f7f7"
            ],
            [
             0.6,
             "#e6f5d0"
            ],
            [
             0.7,
             "#b8e186"
            ],
            [
             0.8,
             "#7fbc41"
            ],
            [
             0.9,
             "#4d9221"
            ],
            [
             1,
             "#276419"
            ]
           ],
           "sequential": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ],
           "sequentialminus": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ]
          },
          "colorway": [
           "#636efa",
           "#EF553B",
           "#00cc96",
           "#ab63fa",
           "#FFA15A",
           "#19d3f3",
           "#FF6692",
           "#B6E880",
           "#FF97FF",
           "#FECB52"
          ],
          "font": {
           "color": "#2a3f5f"
          },
          "geo": {
           "bgcolor": "white",
           "lakecolor": "white",
           "landcolor": "#E5ECF6",
           "showlakes": true,
           "showland": true,
           "subunitcolor": "white"
          },
          "hoverlabel": {
           "align": "left"
          },
          "hovermode": "closest",
          "mapbox": {
           "style": "light"
          },
          "paper_bgcolor": "white",
          "plot_bgcolor": "#E5ECF6",
          "polar": {
           "angularaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "radialaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "scene": {
           "xaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "yaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "zaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           }
          },
          "shapedefaults": {
           "line": {
            "color": "#2a3f5f"
           }
          },
          "ternary": {
           "aaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "baxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "caxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "title": {
           "x": 0.05
          },
          "xaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "zerolinecolor": "white",
           "zerolinewidth": 2
          },
          "yaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "zerolinecolor": "white",
           "zerolinewidth": 2
          }
         }
        },
        "xaxis": {
         "side": "bottom",
         "title": {
          "text": "pressure, barsa"
         }
        },
        "xaxis2": {
         "overlaying": "x",
         "side": "top",
         "title": {
          "text": "temperature, K"
         }
        },
        "yaxis": {
         "title": {
          "text": "inverse depth, m"
         }
        }
       }
      },
      "text/html": [
       "<div>\n",
       "        \n",
       "        \n",
       "            <div id=\"12ec40df-763d-4e3f-ae0e-3969ddb9aca1\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div>\n",
       "            <script type=\"text/javascript\">\n",
       "                require([\"plotly\"], function(Plotly) {\n",
       "                    window.PLOTLYENV=window.PLOTLYENV || {};\n",
       "                    \n",
       "                if (document.getElementById(\"12ec40df-763d-4e3f-ae0e-3969ddb9aca1\")) {\n",
       "                    Plotly.newPlot(\n",
       "                        '12ec40df-763d-4e3f-ae0e-3969ddb9aca1',\n",
       "                        [{\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"pressure_average\", \"type\": \"scattergl\", \"x\": [100, 100.01784119460599, 100.03568240903861, 100.05352364327321, 100.07136489728514, 100.0892061710498, 100.1070474645426, 100.12488877773899, 100.14273011061445, 100.1605714631445, 100.17841283530468, 100.19625422707057, 100.21409563841779, 100.23193706932196, 100.24977851975876, 100.26761998970389, 100.28546147913309, 100.3033029880221, 100.32114451634672, 100.33898606408279, 100.35682763120613, 100.37466921769266, 100.39251082351826, 100.4103524486589, 100.42819409309055, 100.44603575678923, 100.46387743973098, 100.48171914189186, 100.49956086324796, 100.51740260377544, 100.5352443634504, 100.55308614224909, 100.57092794014767, 100.58876975712246, 100.60661159314971, 100.62445344820573, 100.64229532226685, 100.66013721530946, 100.67797912730995, 100.69582105824475, 100.71366300809032, 100.73150497682315, 100.74934696441977, 100.76718897085675, 100.78503099611065, 100.80287304015806, 100.82071510297564, 100.83855718454004, 100.85639928482797, 100.87424140381619, 100.89208354148144, 100.9099256978005, 100.92776787275021, 100.94561006630737, 100.96345227844888, 100.98129450915165, 100.99913675839261, 101.01697902614873, 101.034821312397, 101.05266361711445, 101.07050594027811, 101.08834828186512, 101.10619064185252, 101.12403302021745, 101.14187541693711, 101.15971783198871, 101.17756026534946, 101.19540271699661, 101.21324518690746, 101.2310876750593, 101.2489301814295, 101.26677270599542, 101.28461524873444, 101.30245780962399, 101.32030038864153, 101.33814298576455, 101.35598560097057, 101.37382823423712, 101.3916708855418, 101.40951355486219, 101.42735624217592, 101.44519894746063, 101.46304167069403, 101.48088441185381, 101.49872717091772, 101.51656994786352, 101.53441274266902, 101.55225555531206, 101.57009838577049, 101.58794123402217, 101.60578410004501, 101.62362698381695, 101.64146988531598, 101.65931280452008, 101.67715574140728, 101.69499869595559, 101.71284166814313, 101.730684657948, 101.74852766534833, 101.76637069032229], \"xaxis\": \"x\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}, {\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"temperature_constant\", \"type\": \"scattergl\", \"x\": [339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004], \"xaxis\": \"x2\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}, {\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"pressure_fanning\", \"type\": \"scattergl\", \"x\": [100, 100.06363322222393, 100.12730930862438, 100.19102828812417, 100.2547901896601, 100.3185950421829, 100.38244287465726, 100.44633371606179, 100.51026759538901, 100.57424454164536, 100.63826458385115, 100.70232775104061, 100.7664340722618, 100.83058357657666, 100.89477629306094, 100.95901225080426, 101.02329147891005, 101.08761400649553, 101.1519798626917, 101.21638907664338, 101.28084167750912, 101.34533769446124, 101.4098771566858, 101.47446009338259, 101.5390865337651, 101.60375650706054, 101.6684700425098, 101.73322716936742, 101.79802791690167, 101.8628723143944, 101.9277603911411, 101.99269217645093, 102.05766769964659, 102.12268699006442, 102.18775007705433, 102.25285698997979, 102.31800775821783, 102.383202411159, 102.4484409782074, 102.51372348878061, 102.57904997230972, 102.64442045823931, 102.70983497602741, 102.77529355514551, 102.84079622507852, 102.90634301532482, 102.97193395539615, 103.03756907481767, 103.10324840312789, 103.16897196987874, 103.23473980463544, 103.30055193697659, 103.36640839649408, 103.4323092127931, 103.49825441549217, 103.56424403422304, 103.63027809863075, 103.69635663837359, 103.76247968312302, 103.82864726256376, 103.89485940639375, 103.96111614432405, 104.02741750607893, 104.0937635213958, 104.1601542200252, 104.2265896317308, 104.29306978628935, 104.35959471349071, 104.42616444313778, 104.49277900504656, 104.55943842904605, 104.6261427449783, 104.69289198269834, 104.75968617207421, 104.8265253429869, 104.89340952533037, 104.96033874901153, 105.02731304395017, 105.09433244007904, 105.16139696734378, 105.22850665570283, 105.29566153512755, 105.36286163560213, 105.43010698712355, 105.49739761970163, 105.56473356335896, 105.63211484813088, 105.69954150406552, 105.76701356122372, 105.83453104967903, 105.90209399951772, 105.96970244083872, 106.03735640375363, 106.10505591838673, 106.17280101487484, 106.24059172336749, 106.30842807402674, 106.37631009702724, 106.44423782255619, 106.51221128081332], \"xaxis\": \"x\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}, {\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"temperature_constant\", \"type\": \"scattergl\", \"x\": [339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004], \"xaxis\": \"x2\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}, {\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"pressure_gray\", \"type\": \"scattergl\", \"x\": [100, 100.67789998099512, 101.35700003891864, 102.03729370539897, 102.71877453461428, 103.40143610344698, 104.08527201163395, 104.77027588191285, 105.45644136016443, 106.14376211555071, 106.83223184064933, 107.52184425158373, 108.21259308814959, 108.90447211393712, 109.59747511644956, 110.29159590721773, 110.98682832191076, 111.68316622044293, 112.38060348707667, 113.07913403052186, 113.77875178403129, 114.47945070549241, 115.18122477751544, 115.88406800751767, 116.5879744278043, 117.2929380956456, 117.99895309335044, 118.70601352833644, 119.41411353319653, 120.123247265762, 120.83340890916234, 121.54459267188146, 122.2567927878107, 122.97000351629853, 123.684219142197, 124.39943397590484, 125.11564235340761, 125.83283863631443, 126.55101721189187, 127.2701724930946, 127.99029891859308, 128.7113909527983, 129.43344308588348, 130.15644983380304, 130.88040573830855, 131.605305366962, 132.3311433131462, 133.05791419607255, 133.78561266078594, 134.51423337816723, 135.243771044933, 135.97422038363277, 136.70557614264365, 137.43783309616262, 138.17098604419624, 138.90502981254812, 139.6399592528038, 140.37576924231365, 141.11245468417312, 141.850010507201, 142.58843166591555, 143.32771314050817, 144.0678499368153, 144.808837086288, 145.55066964595963, 146.29334269841146, 147.03685135173643, 147.7811907395008, 148.52635602070416, 149.27234237973744, 150.01914502633912, 150.76675919554972, 151.51518014766467, 152.26440316818514, 153.0144235677677, 153.76523668217192, 154.51683787220665, 155.2692225236747, 156.02238604731588, 156.7763238787487, 157.5310314784107, 158.28650433149707, 159.04273794789816, 159.7997278621356, 160.55746963329705, 161.31595884496957, 162.07519110517205, 162.8351620462861, 163.59586732498596, 164.3573026221672, 165.11946364287422, 165.88234611622678, 166.64594579534543, 167.41025845727577, 168.17527990291197, 168.94100595691907, 169.70743246765448, 170.47455530708848, 171.24237037072385, 172.01087357751464], \"xaxis\": \"x\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}, {\"marker\": {\"size\": 5}, \"mode\": \"markers\", \"name\": \"temperature_constant\", \"type\": \"scattergl\", \"x\": [339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004, 339.90655000000004], \"xaxis\": \"x2\", \"y\": [1000, 990, 980, 970, 960, 950, 940, 930, 920, 910, 900, 890, 880, 870, 860, 850, 840, 830, 820, 810, 800, 790, 780, 770, 760, 750, 740, 730, 720, 710, 700, 690, 680, 670, 660, 650, 640, 630, 620, 610, 600, 590, 580, 570, 560, 550, 540, 530, 520, 510, 500, 490, 480, 470, 460, 450, 440, 430, 420, 410, 400, 390, 380, 370, 360, 350, 340, 330, 320, 310, 300, 290, 280, 270, 260, 250, 240, 230, 220, 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10]}],\n",
       "                        {\"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"xaxis\": {\"side\": \"bottom\", \"title\": {\"text\": \"pressure, barsa\"}}, \"xaxis2\": {\"overlaying\": \"x\", \"side\": \"top\", \"title\": {\"text\": \"temperature, K\"}}, \"yaxis\": {\"title\": {\"text\": \"inverse depth, m\"}}},\n",
       "                        {\"responsive\": true}\n",
       "                    ).then(function(){\n",
       "                            \n",
       "var gd = document.getElementById('12ec40df-763d-4e3f-ae0e-3969ddb9aca1');\n",
       "var x = new MutationObserver(function (mutations, observer) {{\n",
       "        var display = window.getComputedStyle(gd).display;\n",
       "        if (!display || display === 'none') {{\n",
       "            console.log([gd, 'removed!']);\n",
       "            Plotly.purge(gd);\n",
       "            observer.disconnect();\n",
       "        }}\n",
       "}});\n",
       "\n",
       "// Listen for the removal of the full notebook cells\n",
       "var notebookContainer = gd.closest('#notebook-container');\n",
       "if (notebookContainer) {{\n",
       "    x.observe(notebookContainer, {childList: true});\n",
       "}}\n",
       "\n",
       "// Listen for the clearing of the current output cell\n",
       "var outputEl = gd.closest('.output');\n",
       "if (outputEl) {{\n",
       "    x.observe(outputEl, {childList: true});\n",
       "}}\n",
       "\n",
       "                        })\n",
       "                };\n",
       "                });\n",
       "            </script>\n",
       "        </div>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig = go.Figure()\n",
    "\n",
    "profile = well.compute_pressure_profile(method_pressure='average', method_temperature='constant')\n",
    "\n",
    "trace1 = go.Scattergl(x = profile['pressure'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'pressure_average',\n",
    "                      xaxis = 'x1')\n",
    "\n",
    "trace2 = go.Scattergl(x = profile['temperature'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'temperature_constant',\n",
    "                      xaxis = 'x2')\n",
    "\n",
    "profile = well.compute_pressure_profile(method_pressure='fanning', method_temperature='constant')\n",
    "\n",
    "trace3 = go.Scattergl(x = profile['pressure'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'pressure_fanning',\n",
    "                      xaxis = 'x1')\n",
    "\n",
    "trace4 = go.Scattergl(x = profile['temperature'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'temperature_constant',\n",
    "                      xaxis = 'x2')\n",
    "\n",
    "profile = well.compute_pressure_profile(method_pressure='gray', method_temperature='constant')\n",
    "\n",
    "trace5 = go.Scattergl(x = profile['pressure'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'pressure_gray',\n",
    "                      xaxis = 'x1')\n",
    "\n",
    "trace6 = go.Scattergl(x = profile['temperature'],\n",
    "                      y = profile['coordinate'], \n",
    "                      mode = 'markers',\n",
    "                      marker = dict(size = 5),\n",
    "                      name = 'temperature_constant',\n",
    "                      xaxis = 'x2')\n",
    "\n",
    "fig.add_trace(trace1)\n",
    "fig.add_trace(trace2)\n",
    "fig.add_trace(trace3)\n",
    "fig.add_trace(trace4)\n",
    "fig.add_trace(trace5)\n",
    "fig.add_trace(trace6)\n",
    "\n",
    "fig.update_layout(xaxis1 = dict(title = dict(text = 'pressure, barsa'),\n",
    "                                side = 'bottom'),\n",
    "                  xaxis2 = dict(title = dict(text = 'temperature, K'),\n",
    "                                overlaying = 'x',\n",
    "                                side = 'top'),\n",
    "                  yaxis = dict(title = dict(text = 'inverse depth, m')))\n",
    "\n",
    "fig.show()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
